package server;

import java.util.concurrent.RejectedExecutionHandler;
import java.util.concurrent.ThreadPoolExecutor;
 
/**
 * RejectedExecution handler for rejected connections
 * 
 * @author the_james_marq
 * @version 27 October 13
 */
public class RejectedExecutionHandlerImpl implements RejectedExecutionHandler {

    @Override
    public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {
        Log.err("Query from " + r.toString() + " was rejected.");
    }
 
}